<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>自动生成代码系统</title>
<%@include file="/WEB-INF/header.jsp" %>
</head>
<link href="${ctx}/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="${ctx}/css/pagination.css" rel="stylesheet" media="screen">
<style type="text/css">
.queryCondition{
	width: 800px;
	float: left;
	min-height:80px;
	margin-left: auto;
	margin-right: auto;
}
.table_data{
	width: 800px;
	float: left;
	margin-left: auto;
	margin-right: auto;	
}
.querybtn{
	text-align: center;
	border-bottom: 3px solid #1da811;
	padding-bottom: 10px;
}
</style>
<script type="text/javascript" src="${ctx}/js/common/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctx}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/js/common/jquery.pagination.js"></script>
<script type="text/javascript" src="${ctx}/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/admin/sql/javascript/tableInfo.js"></script>
<script type="text/javascript">
	
</script>
<body>
	<div style="width:800px;margin-left:auto;margin-right:auto;">
		<div class="queryCondition">
			<table style="width: 100%;">
				<tr>
					<td align="right" style="color: #888;">表名:</td>
					<td><input type="text" onkeyup="value=value.replace(/[^\w\.\-\_\/]/ig,'')" id="txtTableName" style="width: 200px;height:30px;margin: 15px 15px 15px 15px;"/></td>
					<td align="right" style="color: #888;">创建者:</td>
					<td><input type="text" onkeyup="value=value.replace(/[^\w\.\-\_\/]/ig,'')" id="txtCreateUser"  style="width: 200px;height:30px;margin: 15px 15px 15px 15px;"//></td>
					</tr>
				<tr>
			</table>
		</div>
		<div class="querybtn">
			<input type="hidden" value="0" id="hidTableNameValue"/>
			
			<input type="button"  class="btn btn-success" style="width:100px;margin-right: 10px;" value="美乐车" onclick="home();"/>
			
			<input type="button"  class="btn btn-success" style="width:100px;margin-right: 10px;" value="查询" onclick="btnQuery();"/>
			<input type="button" class="btn btn-success" style="width:100px;margin-right: 10px;"  value="清除条件" onclick="clearTxt();"/>
			<input type="button"  class="btn btn-primary" style="width:100px;margin-right: 10px;" value="新增" onclick="btnAdd();"/>
			<input type="button"  class="btn btn-primary" style="width:100px;margin-right: 10px;" value="建表Sql导入" onclick="btnImport();"/>
			
		</div>
		<div class="table_data">
			<table class="table table-striped" id="tableData">
				<tr id="tableHeader">
					<td style="color: #999;">表名</td>
					<td style="color: #999;">创建者</td>
					<td style="color: #999;">表说明</td>
					<td style="color: #999;">创建时间</td>
					<td style="color: #999;">最后修改时间</td>
					<td style="color: #999;">操作</td>
				</tr>
				
				
			</table>
		</div>
		<div id="Pagination" class="pagination"></div>
		
	</div>
</body>
</html>